You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
let addr = Address::from_bech32("addr_test1qprhw4s70k0vzyhvxp6h97hvrtlkrlcvlmtgmaxdtjz87xrjkctk27ypuv9dzlzxusqse89naweygpjn5dxnygvus05sdq9h07").expect("Failed to create address");
166
175
// cSpell:enable
167
-
letAddress::Shelley(shelley_addr) = addr else{
168
-
panic!("Invalid address type")
169
-
};
170
176
letmut cip36 = create_cip36();
171
177
cip36.key_registration = Cip36KeyRegistration{
172
-
payment_addr:Some(shelley_addr),
178
+
payment_addr:Some(addr),
173
179
..Default::default()
174
180
};
175
181
cip36.validate_payment_address_network();
@@ -183,13 +189,10 @@ mod tests {
183
189
// cSpell:disable
184
190
let addr = Address::from_bech32("addr_test1qprhw4s70k0vzyhvxp6h97hvrtlkrlcvlmtgmaxdtjz87xrjkctk27ypuv9dzlzxusqse89naweygpjn5dxnygvus05sdq9h07").expect("Failed to create address");
0 commit comments