lightninglabs / taproot-assets

A layer 1 daemon, for the Taproot Assets Protocol specification, written in Go (golang)
MIT License
439 stars 106 forks source link

[feature]: Consolidate `lnd`/`tapd` `fn` packages to single source #943

Open dstadulis opened 2 weeks ago

dstadulis commented 2 weeks ago

Consolidate the fn package between lnd and tapd, then only use one

When using WhenSome() closures the two sources can lead to confusion and compilation errors if the wrong fn package is used.

_Originally posted in https://github.com/lightninglabs/taproot-assets/pull/938#discussion_r1632387551_