Commit 9d83722b authored by vipwzw's avatar vipwzw Committed by 33cn

raft fix test

parent 7ef7e54f
......@@ -149,7 +149,7 @@ func SendToAddress(from string, to string, amount string, note string) {
return
}
amountInt64 := int64(amountFloat64 * 1e4)
tx := &types.ReqWalletSendToAddress{From: from, To: to, Amount: amountInt64 * 1e4, Note: []byte(note)}
tx := &types.ReqWalletSendToAddress{From: from, To: to, Amount: amountInt64 * 1e4, Note: note}
reply, err := c.SendToAddress(context.Background(), tx)
if err != nil {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment