From 956d48dbddea7a55fd6a46d0fbb98092d6560ed0 Mon Sep 17 00:00:00 2001 From: Michael Popsuev Date: Mon, 16 Dec 2019 18:27:54 +0200 Subject: [PATCH] fix issue with tx decoding --- transactions.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/transactions.go b/transactions.go index 2d50826..2afdf7b 100644 --- a/transactions.go +++ b/transactions.go @@ -96,7 +96,7 @@ func (tx *ServiceTx) Serialize() ([]byte, error) { } func (ServiceTx) DecodeSignedTx(rawTx string, schema Schema) (ServiceTx, error) { - return ServiceTx{}.DecodeSignedWSchemaProvider(rawTx, func(uint16, uint16) (schema Schema, e error) { + return ServiceTx{}.DecodeSignedWSchemaProvider(rawTx, func(uint16, uint16) (Schema, error) { return schema, nil }) }