Skip to content

Commit 49ec0dc

Browse files
authored
pack close_balance as uint256 (#61)
1 parent 7ebe24a commit 49ec0dc

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

cfxdb/xbrmm/channel.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ def marshal(self) -> dict:
205205
'close_mm_sig': bytes(self.close_mm_sig) if self.close_mm_sig else None,
206206
'close_del_sig': bytes(self.close_del_sig) if self.close_del_sig else None,
207207
'close_channel_seq': self.close_channel_seq,
208-
'close_balance': self.close_balance,
208+
'close_balance': pack_uint256(self.close_balance),
209209
'close_is_final': self.close_is_final,
210210
'closed_tx': bytes(self.closed_tx) if self.closed_tx else None,
211211
}

0 commit comments

Comments
 (0)