Skip to content

Commit

Permalink
Return txHash instead of signature
Browse files Browse the repository at this point in the history
  • Loading branch information
justindg authored and JamesSmartCell committed Nov 28, 2022
1 parent aebfce5 commit 2e571cd
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -247,14 +247,14 @@ public void sendTransaction(final Web3Transaction finalTx, Wallet wallet, long c
{
disposable = createTransactionInteract
.createWithSig(wallet, finalTx.gasPrice, finalTx.gasLimit, finalTx.payload, chainId)
.subscribe(txData -> callback.transactionSuccess(finalTx, txData.signature),
.subscribe(txData -> callback.transactionSuccess(finalTx, txData.txHash),
error -> callback.transactionError(finalTx.leafPosition, error));
}
else
{
disposable = createTransactionInteract
.createWithSig(wallet, finalTx, chainId)
.subscribe(txData -> callback.transactionSuccess(finalTx, txData.signature),
.subscribe(txData -> callback.transactionSuccess(finalTx, txData.txHash),
error -> callback.transactionError(finalTx.leafPosition, error));
}
}
Expand Down

0 comments on commit 2e571cd

Please sign in to comment.