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:
parent
29ecdd555f
commit
decd01a4e5
@ -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'
|
||||
})
|
||||
|
Loading…
Reference in New Issue
Block a user