adapting tx note type
@@ -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,
