rename effective_amount prefix
This commit is contained in:
parent
52ff1a12ff
commit
821be29f41
2 changed files with 2 additions and 2 deletions
|
@ -13,7 +13,7 @@ class DB_PREFIXES(enum.Enum):
|
||||||
channel_to_claim = b'J'
|
channel_to_claim = b'J'
|
||||||
|
|
||||||
claim_short_id_prefix = b'F'
|
claim_short_id_prefix = b'F'
|
||||||
claim_effective_amount_prefix = b'D'
|
effective_amount = b'D'
|
||||||
claim_expiration = b'O'
|
claim_expiration = b'O'
|
||||||
|
|
||||||
claim_takeover = b'P'
|
claim_takeover = b'P'
|
||||||
|
|
|
@ -732,7 +732,7 @@ def effective_amount_helper(struct_fmt):
|
||||||
|
|
||||||
|
|
||||||
class EffectiveAmountPrefixRow(PrefixRow):
|
class EffectiveAmountPrefixRow(PrefixRow):
|
||||||
prefix = DB_PREFIXES.claim_effective_amount_prefix.value
|
prefix = DB_PREFIXES.effective_amount.value
|
||||||
key_struct = struct.Struct(b'>QLH')
|
key_struct = struct.Struct(b'>QLH')
|
||||||
value_struct = struct.Struct(b'>20s')
|
value_struct = struct.Struct(b'>20s')
|
||||||
key_part_lambdas = [
|
key_part_lambdas = [
|
||||||
|
|
Loading…
Reference in a new issue