add missing 'db' param for bitcoin.transaction()