File tree Expand file tree Collapse file tree 1 file changed +12
-2
lines changed Expand file tree Collapse file tree 1 file changed +12
-2
lines changed Original file line number Diff line number Diff line change @@ -1024,7 +1024,12 @@ impl LDNApplication {
1024
1024
let contract_address = db_allocator
1025
1025
. tooling
1026
1026
. filter ( |tooling| tooling. contains ( "smart_contract_allocator" ) )
1027
- . and_then ( |_| db_allocator. address . clone ( ) ) ;
1027
+ . and_then ( |_| {
1028
+ db_allocator
1029
+ . ma_address
1030
+ . clone ( )
1031
+ . or_else ( || db_allocator. address . clone ( ) )
1032
+ } ) ;
1028
1033
1029
1034
let multisig_address = db_allocator. multisig_address . ok_or ( LDNError :: Load (
1030
1035
"Failed to get multisig address." . to_string ( ) ,
@@ -1200,7 +1205,12 @@ impl LDNApplication {
1200
1205
let contract_address = db_allocator
1201
1206
. tooling
1202
1207
. filter ( |tooling| tooling. contains ( "smart_contract_allocator" ) )
1203
- . and_then ( |_| db_allocator. address . clone ( ) ) ;
1208
+ . and_then ( |_| {
1209
+ db_allocator
1210
+ . ma_address
1211
+ . clone ( )
1212
+ . or_else ( || db_allocator. address . clone ( ) )
1213
+ } ) ;
1204
1214
Self :: is_allowance_sufficient (
1205
1215
& multisig_address,
1206
1216
& new_allocation_amount,
You can’t perform that action at this time.
0 commit comments