This commit is contained in:
fosse 2023-09-25 10:01:45 -04:00
parent 1521a67c03
commit 51bbaf02a5
2 changed files with 2 additions and 2 deletions

View file

@ -509,5 +509,5 @@ abstract class EthereumWalletBase
String signMessage(String message, {String? address = null}) =>
bytesToHex(_ethPrivateKey.signPersonalMessageToUint8List(ascii.encode(message)));
dynamic getWeb3Client() => _client;
dynamic getWeb3Client() => _client.getWeb3Client();
}

View file

@ -133,7 +133,7 @@ class CWEthereum extends Ethereum {
}
@override
dynamic getWeb3Client(WalletBase wallet) async {
dynamic getWeb3Client(WalletBase wallet) {
return (wallet as EthereumWallet).getWeb3Client();
}
}