File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed
packages/web3/lib/src/extension Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -127,14 +127,13 @@ extension Web3DartExt on Web3Client {
127
127
}
128
128
129
129
Future <String > _sendTransactionAndWaitForReceipt (Transaction transaction, String privateKey) async {
130
- print ('sendTransactionAndWaitForReceipt' );
131
-
132
- ///
133
130
var _credentials = await setCredentials (privateKey);
134
131
var _networkId = await getNetworkId ();
135
132
133
+ print ('sendTransactionAndWaitForReceipt: chainID:$_networkId ' );
134
+
136
135
/// send:
137
- String txHash = await sendTransaction (_credentials, transaction);
136
+ String txHash = await sendTransaction (_credentials, transaction, chainId : _networkId );
138
137
139
138
/// async watch tx done: not add await
140
139
watchTxStatus (txHash);
You can’t perform that action at this time.
0 commit comments