1
0
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:
Sebastian Gerske 2018-09-19 14:09:02 +02:00
parent 1d7597def8
commit 1bf8b9fefa

View File

@ -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
}
}