mirror of
https://github.com/jwinterm/grin-wallet.git
synced 2026-10-17 07:11:36 +02:00
Change EncryptedRequest 'id' field to String (#336)
* change ID field in encrypted request/response to be a string of any kind * Use JsonId Enum instead of String value
This commit is contained in:
+2
-2
@@ -24,7 +24,7 @@ use std::sync::Arc;
|
||||
use std::{env, fs};
|
||||
use util::{Mutex, ZeroingString};
|
||||
|
||||
use grin_wallet_api::{EncryptedRequest, EncryptedResponse};
|
||||
use grin_wallet_api::{EncryptedRequest, EncryptedResponse, JsonId};
|
||||
use grin_wallet_config::{GlobalWalletConfig, WalletConfig, GRIN_WALLET_DIR};
|
||||
use grin_wallet_impls::{DefaultLCProvider, DefaultWalletImpl};
|
||||
use grin_wallet_libwallet::{NodeClient, WalletInfo, WalletInst};
|
||||
@@ -371,7 +371,7 @@ where
|
||||
|
||||
#[allow(dead_code)]
|
||||
pub fn send_request_enc<OUT>(
|
||||
sec_req_id: u64,
|
||||
sec_req_id: &JsonId,
|
||||
internal_request_id: u32,
|
||||
dest: &str,
|
||||
req: &str,
|
||||
|
||||
Reference in New Issue
Block a user