]> Untitled Git - bdk/commitdiff
Merge bitcoindevkit/bdk#1730: Check time when persisting in `rusqlite` impl
authorSteve Myers <steve@notmandatory.org>
Thu, 21 Nov 2024 03:23:08 +0000 (21:23 -0600)
committerSteve Myers <steve@notmandatory.org>
Thu, 21 Nov 2024 03:25:48 +0000 (21:25 -0600)
8ec9c0a7495acc2cdc6f4444d1a1d3aca566b17b fix(chain): check time when persisting (Rob N)

Pull request description:

  Closes #1713

  Any implementation overflowing the `i64` type would be clearly faulty, so I just pass up the error if the conversion fails.

  ### Checklists

  #### All Submissions:

  * [x] I've signed all my commits
  * [x] I followed the [contribution guidelines](https://github.com/bitcoindevkit/bdk/blob/master/CONTRIBUTING.md)
  * [x] I ran `cargo fmt` and `cargo clippy` before committing

  #### New Features:

  * [ ] I've added tests for the new feature
  * [ ] I've added docs for the new feature

  #### Bugfixes:

  * [ ] This pull request breaks the existing API
  * [ ] I've added tests to reproduce the issue which are now passing
  * [ ] I'm linking the issue being fixed by this PR

ACKs for top commit:
  notmandatory:
    ACK 8ec9c0a7495acc2cdc6f4444d1a1d3aca566b17b
  oleonardolima:
    utACK 8ec9c0a7495acc2cdc6f4444d1a1d3aca566b17b

Tree-SHA512: ded7c036f7a082e181e52f0366410f572227d57af37fdfd0fc0909f629a48ad1ed69f5c8549c45fe6c7aadb7e3fa62d2b56990028bc7fd321e43d39b79d77b00


Trivial merge