fix: incorrect peek_address index

This commit is contained in:
Ed Ball authored and thunderbiscuit committed 2023-02-02 12:26:27 -05:00
1 parent 10f893a4b3
commit d42789db9b
1 file changed
+1 -1
+1 -1
View File
@@ -605,7 +605,7 @@ mod test {
// peek index 1
assert_eq!(
wallet
.get_address(AddressIndex::Peek { index: 0 })
.get_address(AddressIndex::Peek { index: 1 })
.unwrap()
.address,
"bcrt1q0xs7dau8af22rspp4klya4f7lhggcnqfun2y3a"