mirror of
https://github.com/aljazceru/ark.git
synced 2025-12-17 04:04:21 +01:00
New address encoding (#356)
* [common] rework address encoding * new address encoding * replace offchain address by vtxo output key in DB * merge migrations files into init one * fix txbuilder fixtures * fix transaction events
This commit is contained in:
@@ -23,10 +23,10 @@ import (
|
||||
)
|
||||
|
||||
func CoinSelect(
|
||||
vtxos []client.Vtxo, amount, dust uint64, sortByExpirationTime bool,
|
||||
) ([]client.Vtxo, uint64, error) {
|
||||
selected := make([]client.Vtxo, 0)
|
||||
notSelected := make([]client.Vtxo, 0)
|
||||
vtxos []client.DescriptorVtxo, amount, dust uint64, sortByExpirationTime bool,
|
||||
) ([]client.DescriptorVtxo, uint64, error) {
|
||||
selected := make([]client.DescriptorVtxo, 0)
|
||||
notSelected := make([]client.DescriptorVtxo, 0)
|
||||
selectedAmount := uint64(0)
|
||||
|
||||
if sortByExpirationTime {
|
||||
|
||||
Reference in New Issue
Block a user