@ -743,7 +743,7 @@ UniValue ProcessImport(CWallet * const pwallet, const UniValue& data, const int6
pwallet - > MarkDirty ( ) ;
if ( ! pwallet - > HaveWatchOnly( redeemScript ) & & ! pwallet - > AddWatchOnly( redeemScript , timestamp ) ) {
if ( ! pwallet - > AddWatchOnly( redeemScript , timestamp ) ) {
throw JSONRPCError ( RPC_WALLET_ERROR , " Error adding address to wallet " ) ;
}
@ -760,7 +760,7 @@ UniValue ProcessImport(CWallet * const pwallet, const UniValue& data, const int6
pwallet - > MarkDirty ( ) ;
if ( ! pwallet - > HaveWatchOnly( redeemDestination ) & & ! pwallet - > AddWatchOnly( redeemDestination , timestamp ) ) {
if ( ! pwallet - > AddWatchOnly( redeemDestination , timestamp ) ) {
throw JSONRPCError ( RPC_WALLET_ERROR , " Error adding address to wallet " ) ;
}
@ -853,7 +853,7 @@ UniValue ProcessImport(CWallet * const pwallet, const UniValue& data, const int6
pwallet - > MarkDirty ( ) ;
if ( ! pwallet - > HaveWatchOnly( pubKeyScript ) & & ! pwallet - > AddWatchOnly( pubKeyScript , timestamp ) ) {
if ( ! pwallet - > AddWatchOnly( pubKeyScript , timestamp ) ) {
throw JSONRPCError ( RPC_WALLET_ERROR , " Error adding address to wallet " ) ;
}
@ -871,7 +871,7 @@ UniValue ProcessImport(CWallet * const pwallet, const UniValue& data, const int6
pwallet - > MarkDirty ( ) ;
if ( ! pwallet - > HaveWatchOnly( scriptRawPubKey ) & & ! pwallet - > AddWatchOnly( scriptRawPubKey , timestamp ) ) {
if ( ! pwallet - > AddWatchOnly( scriptRawPubKey , timestamp ) ) {
throw JSONRPCError ( RPC_WALLET_ERROR , " Error adding address to wallet " ) ;
}
@ -945,7 +945,7 @@ UniValue ProcessImport(CWallet * const pwallet, const UniValue& data, const int6
pwallet - > MarkDirty ( ) ;
if ( ! pwallet - > HaveWatchOnly( script ) & & ! pwallet - > AddWatchOnly( script , timestamp ) ) {
if ( ! pwallet - > AddWatchOnly( script , timestamp ) ) {
throw JSONRPCError ( RPC_WALLET_ERROR , " Error adding address to wallet " ) ;
}