| 445 | } |
| 446 | |
| 447 | size_t wally_tx_weight(const struct wally_tx *wtx) |
| 448 | { |
| 449 | size_t weight; |
| 450 | int ret = wally_tx_get_weight(wtx, &weight); |
| 451 | assert(ret == WALLY_OK); |
| 452 | return weight; |
| 453 | } |
| 454 | |
| 455 | size_t bitcoin_tx_weight(const struct bitcoin_tx *tx) |
| 456 | { |
no outgoing calls
no test coverage detected