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
+2 -2
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 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. Ask the oracle when it expires. The result is the block height at which it will happen.