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

lightninglabs / taproot-assets / 11808369738

13 Nov 2024 12:44AM UTC coverage: 40.629% (+0.02%) from 40.614%
11808369738

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%)

14 existing lines in 4 files now uncovered.

24698 of 60789 relevant lines covered (40.63%)

59265.11 hits per line

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

84.7
/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

© 2025 Coveralls, Inc