mirror of
https://github.com/status-im/nimbus-eth1.git
synced 2025-01-11 12:54:13 +00:00
toSignature is now a proc
This commit is contained in:
parent
74a4ab6efc
commit
18d62d8c79
@ -52,7 +52,7 @@ func hash(transaction: Transaction): Hash256 =
|
||||
payload: transaction.payload
|
||||
).rlpHash
|
||||
|
||||
template toSignature(transaction: Transaction): Signature =
|
||||
proc toSignature(transaction: Transaction): Signature =
|
||||
var bytes: array[65, byte]
|
||||
bytes[0..31] = cast[array[32, byte]](transaction.R)
|
||||
bytes[32..63] = cast[array[32, byte]](transaction.S)
|
||||
|
Loading…
x
Reference in New Issue
Block a user