fixes

fosse committed Sep 25, 2023 at 10:01 UTC 51bbaf02a5cde449071188d810483acdae0ecf0e
2 files changed +2 -2
cw_ethereum/lib/ethereum_wallet.dart
+1 -1
@@ -509,5 +509,5 @@ abstract class EthereumWalletBase
509 String signMessage(String message, {String? address = null}) =>
510 bytesToHex(_ethPrivateKey.signPersonalMessageToUint8List(ascii.encode(message)));
511
512 - dynamic getWeb3Client() => _client;
512 + dynamic getWeb3Client() => _client.getWeb3Client();
513 }
lib/ethereum/cw_ethereum.dart
+1 -1
@@ -133,7 +133,7 @@ class CWEthereum extends Ethereum {
133 }
134
135 @override
136 - dynamic getWeb3Client(WalletBase wallet) async {
136 + dynamic getWeb3Client(WalletBase wallet) {
137 return (wallet as EthereumWallet).getWeb3Client();
138 }
139 }