mirror of
https://github.com/logos-storage/logos-storage-nim-validator.git
synced 2026-01-09 17:03:05 +00:00
cleanup
This commit is contained in:
parent
8bb117cd40
commit
0717382480
@ -30,9 +30,7 @@ suite "Transaction serialization":
|
||||
proof
|
||||
)
|
||||
let serialized = transaction.toBytes()
|
||||
{.warning[Deprecated]: off.} # ignore warning in protobuf_serialization
|
||||
let protobuf = ProtoBuf.decode(serialized, TransactionMessage)
|
||||
{.warning[Deprecated]: on.}
|
||||
check protobuf.proof.a.x == transaction.proof.a.x.toBytesBE()
|
||||
check protobuf.proof.a.y == transaction.proof.a.y.toBytesBE()
|
||||
check protobuf.proof.b.x.real == transaction.proof.b.x.real.toBytesBE()
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user