mirror of
https://github.com/oceanprotocol-archive/squid-js.git
synced 2024-02-02 15:31:51 +01:00
added await
This commit is contained in:
parent
1d7597def8
commit
1bf8b9fefa
@ -9,7 +9,7 @@ export default class OceanAuth extends KeeperBase {
|
||||
|
||||
return {
|
||||
async getInstance() {
|
||||
instance.contract = ContractLoader.load('OceanAuth', instance._network, instance._web3)
|
||||
instance.contract = await ContractLoader.load('OceanAuth', instance._network, instance._web3)
|
||||
return instance
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user