mirror of https://github.com/nucypher/nucypher.git
add missing 'conditionType' field in examples.
parent
96c2adf7f5
commit
fc5ae1b1b1
|
@ -13,6 +13,7 @@ ANYTHING_CAN_BE_PASSED_AS_RITUAL_ID = 55
|
|||
before_the_beginning_of_time = {
|
||||
"version": ConditionLingo.VERSION,
|
||||
"condition": {
|
||||
"conditionType": "time",
|
||||
"chain": 1,
|
||||
"method": "blocktime",
|
||||
"returnValueTest": {"comparator": "<", "value": 0},
|
||||
|
|
|
@ -47,6 +47,7 @@ print(
|
|||
eth_balance_condition = {
|
||||
"version": ConditionLingo.VERSION,
|
||||
"condition": {
|
||||
"conditionType": "rpc",
|
||||
"chain": 80001,
|
||||
"method": "eth_getBalance",
|
||||
"parameters": ["0x210eeAC07542F815ebB6FD6689637D8cA2689392", "latest"],
|
||||
|
|
Loading…
Reference in New Issue