Commit 4bbb6898 authored by jiangpeng's avatar jiangpeng Committed by vipwzw

adapting tx note type

parent 2c40966f
......@@ -129,7 +129,7 @@ func createPub2PrivTx(cmd *cobra.Command, args []string) {
Tokenname: tokenname,
Type: types.PrivacyTypePublic2Privacy,
Amount: amount,
Note: []byte(note),
Note: note,
Pubkeypair: pubkeypair,
Expire: expire,
}
......@@ -191,7 +191,7 @@ func createPriv2PrivTx(cmd *cobra.Command, args []string) {
Tokenname: tokenname,
Type: types.PrivacyTypePrivacy2Privacy,
Amount: amount,
Note: []byte(note),
Note: note,
Pubkeypair: pubkeypair,
From: sender,
Mixcount: mixCount,
......@@ -255,7 +255,7 @@ func createPriv2PubTx(cmd *cobra.Command, args []string) {
Tokenname: tokenname,
Type: types.PrivacyTypePrivacy2Public,
Amount: amount,
Note: []byte(note),
Note: note,
From: from,
To: to,
Mixcount: mixCount,
......
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