Skip to content

Commit

Permalink
[PLA-2115] Keep enough value to pay for teleporting fee (#302)
Browse files Browse the repository at this point in the history
  • Loading branch information
leonardocustodio authored Dec 16, 2024
1 parent 2512b20 commit 1fc2f57
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Commands/RelayWatcher.php
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@ protected function createDaemonTransaction(string $account, string $amount): voi
]);

$transferableAmount = $this->codec->encoder()->compact(
gmp_strval(gmp_sub($amount, '101000000000000000'))
gmp_strval(gmp_sub($amount, '201000000000000000'))
);
$call = '0x630903000100a10f0300010100' . HexConverter::unPrefix($managedWallet->public_key);
$call .= '030400000000' . HexConverter::unPrefix($transferableAmount);
Expand Down

0 comments on commit 1fc2f57

Please sign in to comment.