diff --git a/app/src/main/java/com/alphawallet/app/viewmodel/WalletConnectViewModel.java b/app/src/main/java/com/alphawallet/app/viewmodel/WalletConnectViewModel.java index d877ff36e3..4a3b6b118e 100644 --- a/app/src/main/java/com/alphawallet/app/viewmodel/WalletConnectViewModel.java +++ b/app/src/main/java/com/alphawallet/app/viewmodel/WalletConnectViewModel.java @@ -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)); } }