diff --git a/wallet/udb/addressdb.go b/wallet/udb/addressdb.go index da323b4b1..48a161868 100644 --- a/wallet/udb/addressdb.go +++ b/wallet/udb/addressdb.go @@ -108,8 +108,9 @@ type dbImportedAddressRow struct { // address in the database. type dbScriptAddressRow struct { dbAddressRow - encryptedHash []byte - encryptedScript []byte + hash []byte + script []byte + encrypted bool } // Key names for various database fields. @@ -968,15 +969,16 @@ func serializeImportedAddress(encryptedPubKey, encryptedPrivKey []byte) []byte { // row as a script address. func deserializeScriptAddress(row *dbAddressRow) (*dbScriptAddressRow, error) { // The serialized script address raw data format is: - // + //