Skip to content

Commit fb0221f

Browse files
committed
fix unmarshall referral from excess
1 parent f5511de commit fb0221f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

abi/mooncx.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ func (m *MoonSwapParams) UnmarshalJSON(data []byte) error {
3434
}
3535
m.Excess = excess
3636
var referral tlb.MsgAddress
37-
if err := referral.UnmarshalJSON([]byte(r.Excess)); err != nil {
37+
if err := referral.UnmarshalJSON([]byte(r.Referral)); err != nil {
3838
return err
3939
}
4040
m.Referral = referral

0 commit comments

Comments
 (0)