changed type of client ttl to int option

This commit is contained in:
skkw
2019-11-18 16:25:47 +01:00
parent 2a3274ba25
commit 5c5d3c60ef
4 changed files with 5 additions and 5 deletions
+2 -2
View File
@@ -37,14 +37,14 @@ contract AENSTest =
stateful entrypoint update(owner : address,
name : string,
ttl : option(Chain.ttl),
client_ttl : option(Chain.ttl),
client_ttl : option(int),
pointers : option(map(string, AENS.pointee))) : unit =
AENS.update(owner, name, ttl, client_ttl, pointers)
stateful entrypoint signedUpdate(owner : address,
name : string,
ttl : option(Chain.ttl),
client_ttl : option(Chain.ttl),
client_ttl : option(int),
pointers : option(map(string, AENS.pointee)),
sign : signature) : unit =
AENS.update(owner, name, ttl, client_ttl, pointers, signature = sign)