| 457 | } |
| 458 | |
| 459 | size_t wally_tx_weight(const struct wally_tx *wtx) |
| 460 | { |
| 461 | size_t weight; |
| 462 | int ret = wally_tx_get_weight(wtx, &weight); |
| 463 | assert(ret == WALLY_OK); |
| 464 | return weight; |
| 465 | } |
| 466 | |
| 467 | size_t bitcoin_tx_weight(const struct bitcoin_tx *tx) |
| 468 | { |
no outgoing calls
no test coverage detected