1
0
mirror of https://github.com/oceanprotocol-archive/squid-js.git synced 2024-02-02 15:31:51 +01:00

fixed contract call

This commit is contained in:
Sebastian Gerske 2018-09-19 15:21:13 +02:00
parent 29ecdd555f
commit decd01a4e5

View File

@ -30,7 +30,7 @@ export default class Ocean {
}
async getOrdersByConsumer(consumerAddress) {
let accessConsentEvent = this.auth.AccessConsentRequested({ _consumer: consumerAddress }, {
let accessConsentEvent = this.auth.contract.AccessConsentRequested({ _consumer: consumerAddress }, {
fromBlock: 0,
toBlock: 'latest'
})