Fix name: MustTransactionFromDecoder

This commit is contained in:
Slavomir 2021-09-01 00:58:07 +02:00
parent ed736e9156
commit 66087f5c99
1 changed files with 1 additions and 1 deletions

View File

@ -312,7 +312,7 @@ func TransactionFromDecoder(decoder *bin.Decoder) (*Transaction, error) {
return out, nil
}
func MustTransactionFromData(decoder *bin.Decoder) *Transaction {
func MustTransactionFromDecoder(decoder *bin.Decoder) *Transaction {
out, err := TransactionFromDecoder(decoder)
if err != nil {
panic(err)