Skip to content

Commit

Permalink
fix logout
Browse files Browse the repository at this point in the history
  • Loading branch information
c0mm4nd committed Nov 15, 2020
1 parent 858dea1 commit fc81bb8
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions bin/ngwallet.dart
Original file line number Diff line number Diff line change
Expand Up @@ -300,11 +300,10 @@ class SendLogoutTxCMD extends JsonRpcCMD {

@override
void run() async {
var fee = checkEmpty(argResults['fee'], 'fee');
var fee = argResults['fee'];
var extra = argResults['extra'];

var logoutAccountNum =
checkEmpty(argResults.arguments[0], 'logoutAccountNum');
var logoutAccountNum = await convener;

var unsignedTx = await client.genLogout(logoutAccountNum, fee, extra);
var signedTx = await client.signTx([await privateKey], unsignedTx);
Expand Down

0 comments on commit fc81bb8

Please sign in to comment.