mirror of
https://github.com/logos-messaging/logos-messaging-nim.git
synced 2026-01-11 10:23:06 +00:00
merging
This commit is contained in:
parent
f41aab55d9
commit
c95806c53f
@ -321,7 +321,10 @@ method register*(
|
||||
# TODO: make this robust. search within the event list for the event
|
||||
debug "ts receipt", receipt = tsReceipt[]
|
||||
|
||||
if tsReceipt.status.isNone() or tsReceipt.status.get() != 1.Quantity:
|
||||
if tsReceipt.status.isNone():
|
||||
raise newException(ValueError, "register: transaction failed isNone")
|
||||
|
||||
if tsReceipt.status.get() != 1.Quantity:
|
||||
raise newException(ValueError, "register: transaction failed")
|
||||
|
||||
let firstTopic = tsReceipt.logs[2].topics[0]
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user