Skip to content

Commit

Permalink
parse address for anchor output
Browse files Browse the repository at this point in the history
  • Loading branch information
soad003 committed Dec 11, 2024
1 parent 8cc1271 commit 4191d4a
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 10 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).


## [24.08.5/2.4.6] 2024-12-11
### fixed
- parse address for anchor output

## [24.08.5/2.4.5] 2024-12-11
### fixed
- allow anchor script type in btc-like currencies
Expand Down
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
SHELL := /bin/bash
PROJECT := graphsense-lib
VENV := venv
RELEASE := 'v24.08.5'
RELEASESEM := 'v2.4.5'
RELEASE := 'v24.08.6'
RELEASESEM := 'v2.4.6'



Expand Down
9 changes: 1 addition & 8 deletions src/graphsenselib/ingest/utxo.py
Original file line number Diff line number Diff line change
Expand Up @@ -418,14 +418,7 @@ def addresstype_to_int(addr_type: str) -> int:


def address_as_string(x):
if x["type"] in [
"null",
"nulldata",
"nonstandard",
"witness_unknown",
"shielded",
"anchor",
]:
if x["type"] in ["null", "nulldata", "nonstandard", "witness_unknown", "shielded"]:
return None
return x["addresses"]

Expand Down

0 comments on commit 4191d4a

Please sign in to comment.