Merge pull request #349 from aeternity/fix_oracle_expiry_doc

Fix docs Oracle.expire -> Oracle.expiry
This commit is contained in:
Hans Svensson 2021-10-21 14:16:32 +02:00 committed by GitHub
commit 10fc88a21d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -457,10 +457,10 @@ Oracle.get_answer(o : oracle('a, 'b), q : oracle_query('a, 'b)) : option('b)
Checks what is the optional query answer
#### expire
#### expiry
```
Oracle.expire(o : oracle('a, 'b)) : int
Oracle.expiry(o : oracle('a, 'b)) : int
```
Ask the oracle when it expires. The result is the block height at which it will happen.