[#1069] morph/balance: Fix transfer to

Signed-off-by: ZhangTao1596 <zhangtao@ngd.neo.org>
This commit is contained in:
ZhangTao1596 2022-01-04 16:43:33 +08:00 committed by Alex Vanin
parent e74ff7c15a
commit 6830d54a3c

View file

@ -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
}