From f6f1b291ed80c8b850d6fbb805214b5095f67f9a Mon Sep 17 00:00:00 2001 From: SW van Heerden Date: Wed, 18 Jan 2023 14:48:18 +0200 Subject: [PATCH] add more detail for missing base node key error --- base_layer/wallet_ffi/src/error.rs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/base_layer/wallet_ffi/src/error.rs b/base_layer/wallet_ffi/src/error.rs index 491259ff4e..98a411d275 100644 --- a/base_layer/wallet_ffi/src/error.rs +++ b/base_layer/wallet_ffi/src/error.rs @@ -231,6 +231,10 @@ impl From for LibWalletError { code: 210, message: format!("{:?}", w), }, + WalletError::TransactionServiceError(TransactionServiceError::NoBaseNodeKeysProvided) => Self { + code: 212, + message: format!("{:?}", w), + }, WalletError::TransactionServiceError(_) => Self { code: 211, message: format!("{:?}", w),