OSDN Git Service

fix(consensus): correct IsP2WPKHScript and IsP2WSHScript (#2078)
authorDeKaiju <longjinglv@163.com>
Mon, 16 Aug 2021 04:21:36 +0000 (12:21 +0800)
committerGitHub <noreply@github.com>
Mon, 16 Aug 2021 04:21:36 +0000 (12:21 +0800)
commit7039d9f7a0669bbe615b7d5ec73a2af99c98577d
tree31917baf297f2236e65c9756a66bcc067ded7395
parentfa64890fb89b8b463f111575bd6213b72d6b23a7
fix(consensus): correct IsP2WPKHScript and IsP2WSHScript (#2078)

* fix(consensus): correct IsP2WPKHScript and IsP2WSHScript

* test(bcrp): add unit test
consensus/bcrp/bcrp_test.go
consensus/segwit/segwit.go
consensus/segwit/segwit_test.go