mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2024-12-22 11:39:22 +00:00
fixes
This commit is contained in:
parent
1521a67c03
commit
51bbaf02a5
2 changed files with 2 additions and 2 deletions
|
@ -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();
|
||||
}
|
||||
|
|
|
@ -133,7 +133,7 @@ class CWEthereum extends Ethereum {
|
|||
}
|
||||
|
||||
@override
|
||||
dynamic getWeb3Client(WalletBase wallet) async {
|
||||
dynamic getWeb3Client(WalletBase wallet) {
|
||||
return (wallet as EthereumWallet).getWeb3Client();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue