Skip to content

Commit f6d4b6a

Browse files
committed
fix typo
1 parent 1b0010d commit f6d4b6a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

protocol/lighter/api.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ func (tx *LighterTx) UnmarshalJSON(data []byte) error {
6363
if tx.Type == TxTypeL2Transfer {
6464
var t *Transfer
6565
if err := json.Unmarshal([]byte(tx.Info), &t); err != nil {
66-
return fmt.Errorf("failed to unmarshal transfer: %w", err)
66+
return fmt.Errorf("failed to unmarshal info: %w", err)
6767
}
6868
tx.Transfer = t
6969
} else {

0 commit comments

Comments
 (0)