grin-wallet master now building against grin master (#402)

This commit is contained in:
Antioch Peverell
2020-05-11 10:27:47 +01:00
committed by GitHub
parent dceeda93be
commit 19da1e4aec
10 changed files with 75 additions and 76 deletions
+2 -2
View File
@@ -15,7 +15,7 @@ use crate::core::libtx::secp_ser;
use crate::libwallet::dalek_ser;
use crate::libwallet::{Error, ErrorKind};
use crate::util::secp::key::{PublicKey, SecretKey};
use crate::util::{from_hex, to_hex};
use crate::util::{from_hex, ToHex};
use failure::ResultExt;
use base64;
@@ -98,7 +98,7 @@ impl EncryptedBody {
}
Ok(EncryptedBody {
nonce: to_hex(nonce.to_vec()),
nonce: nonce.to_hex(),
body_enc: base64::encode(&to_encrypt),
})
}