We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b065fb8 commit 893ce7dCopy full SHA for 893ce7d
lightning/src/offers/offer.rs
@@ -467,7 +467,7 @@ mod tests {
467
#[test]
468
fn builds_offer_with_chains() {
469
let chain = ChainHash::using_genesis_block(Network::Bitcoin);
470
- let chaines = vec![
+ let chains = vec![
471
ChainHash::using_genesis_block(Network::Bitcoin),
472
ChainHash::using_genesis_block(Network::Testnet),
473
];
@@ -492,8 +492,8 @@ mod tests {
492
.chain(Network::Testnet)
493
.build()
494
.unwrap();
495
- assert_eq!(offer.chains(), chaines);
496
- assert_eq!(offer.as_tlv_stream().chains, Some(&chaines));
+ assert_eq!(offer.chains(), chains);
+ assert_eq!(offer.as_tlv_stream().chains, Some(&chains));
497
}
498
499
0 commit comments