Skip to content

Commit

Permalink
fixed value not being int
Browse files Browse the repository at this point in the history
  • Loading branch information
rubensayshi committed Jul 7, 2015
1 parent f8d047e commit f7d856f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Console/Commands/PayCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,8 @@ protected function execute(InputInterface $input, OutputInterface $output) {
} else {
if (!$questionHelper->ask($input, $output, new ConfirmationQuestion("Did you specify this value in satoshi? [y/N] ", false))) {
$value = BlocktrailSDK::toSatoshi($value);
} else {
$value = (int)$value;
}
}

Expand Down

0 comments on commit f7d856f

Please sign in to comment.