mirror of
https://github.com/jwinterm/grin-wallet.git
synced 2026-10-17 07:11:36 +02:00
pmmr indexing related fix for get_outputs_by_pmmr_index function (#633)
This commit is contained in:
@@ -292,7 +292,7 @@ where
|
||||
m: WalletProxyMessage,
|
||||
) -> Result<WalletProxyMessage, libwallet::Error> {
|
||||
let split = m.body.split(',').collect::<Vec<&str>>();
|
||||
let start_index = split[0].parse::<u64>().unwrap();
|
||||
let start_index = std::cmp::max(split[0].parse::<u64>().unwrap(), 1);
|
||||
let max = split[1].parse::<u64>().unwrap();
|
||||
let end_index = split[2].parse::<u64>().unwrap();
|
||||
let end_index = match end_index {
|
||||
|
||||
Reference in New Issue
Block a user