HomePhabricator

Pass chain params explicitely to EncodeSecret and DecodeSecret

Description

Pass chain params explicitely to EncodeSecret and DecodeSecret

Summary: As per title. In general, we want to avoid snooping on global state implicitely.

Test Plan: Added unit tests for the new functions.

Reviewers: #bitcoin_abc, PiRK

Reviewed By: #bitcoin_abc, PiRK

Differential Revision: https://reviews.bitcoinabc.org/D8780

Details

Provenance
deadalnixAuthored on Jan 4 2021, 18:49
deadalnixPushed on Jan 6 2021, 00:04
Reviewer
Restricted Project
Differential Revision
D8780: Pass chain params explicitely to EncodeSecret and DecodeSecret
Parents
rABCc2059b6f572e: Add monorepo link to CONTRIBUTING.md
Branches
Unknown
Tags
Unknown