From 6830d54a3cd793930f88baeddd40b12b6c7debf9 Mon Sep 17 00:00:00 2001 From: ZhangTao1596 Date: Tue, 4 Jan 2022 16:43:33 +0800 Subject: [PATCH] [#1069] morph/balance: Fix transfer to Signed-off-by: ZhangTao1596 --- pkg/morph/client/balance/wrapper/transfer.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/morph/client/balance/wrapper/transfer.go b/pkg/morph/client/balance/wrapper/transfer.go index 9f3bb87f..35541f89 100644 --- a/pkg/morph/client/balance/wrapper/transfer.go +++ b/pkg/morph/client/balance/wrapper/transfer.go @@ -28,7 +28,7 @@ func (w *Wrapper) TransferX(p TransferPrm) error { if err != nil { return err } - to, err := address.StringToUint160(p.From.String()) + to, err := address.StringToUint160(p.To.String()) if err != nil { return err }