LN-Zap / zap-android

Zap Wallet - Native android lightning wallet for node operators focused on user experience and ease of use ⚡️
MIT License
165 stars 49 forks source link

Add bech32m test #328

Closed michaelWuensch closed 3 years ago

michaelWuensch commented 3 years ago

Description

Added a unit test to ensure bech32m addresses can be handled.

Motivation and Context

Make sure that Zap does not falsely report valid bech32m addresses as invalid. With taproot the new address format will be rolled out which fixes a weakness in bech32 addresses. (See BIP 350)

How Has This Been Tested?

Running the unit test

Types of changes

Checklist: