Skip to content

Commit d33fa1f

Browse files
committed
fixup! Make WitnessUnknown members private
1 parent d170bc8 commit d33fa1f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/key_io.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ CTxDestination DecodeDestination(const std::string& str, const CChainParams& par
190190
return CNoDestination();
191191
}
192192

193-
return WitnessUnknown{version, data};
193+
return WitnessUnknown{static_cast<unsigned int>(version), data};
194194
} else {
195195
error_str = strprintf("Invalid padding in Bech32 data section");
196196
return CNoDestination();

0 commit comments

Comments
 (0)