• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

lightninglabs / taproot-assets / 11789277835

12 Nov 2024 01:55AM UTC coverage: 40.671% (+0.01%) from 40.658%
11789277835

Pull #1185

github

Roasbeef
tapdb: update InsertScriptKey to allow flipping known to true

In this commit, we update `InsertScriptKey` to allow flipping known to
true, if it was false before.

This is useful as at times a script key from a smart contract might have
been inserting on disk, but with declared known as false. Then if we
tried to insert it again, with known as true, the upsert logic would end
up making no change on disk.
Pull Request #1185: tapdb: fix bug w.r.t null bool handling, allow InsertScriptKey to allow flipping known to true

19 of 19 new or added lines in 5 files covered. (100.0%)

97 existing lines in 7 files now uncovered.

24704 of 60741 relevant lines covered (40.67%)

59157.6 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

83.91
/commitment/tap.go


Source Not Available

STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc